.class Llt/noframe/gpsfarmguide/views/GooglePlayServicesActivity$1;
.super Ljava/lang/Object;
.source "GooglePlayServicesActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Llt/noframe/gpsfarmguide/views/GooglePlayServicesActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Llt/noframe/gpsfarmguide/views/GooglePlayServicesActivity;


# direct methods
.method constructor <init>(Llt/noframe/gpsfarmguide/views/GooglePlayServicesActivity;)V
    .locals 0

    .line 93
    iput-object p1, p0, Llt/noframe/gpsfarmguide/views/GooglePlayServicesActivity$1;->this$0:Llt/noframe/gpsfarmguide/views/GooglePlayServicesActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

    .line 97
    :try_start_0
    iget-object p1, p0, Llt/noframe/gpsfarmguide/views/GooglePlayServicesActivity$1;->this$0:Llt/noframe/gpsfarmguide/views/GooglePlayServicesActivity;

    invoke-static {p1}, Llt/noframe/gpsfarmguide/views/GooglePlayServicesActivity;->access$100(Llt/noframe/gpsfarmguide/views/GooglePlayServicesActivity;)Lcom/google/android/gms/common/GoogleApiAvailability;

    move-result-object p1

    iget-object v0, p0, Llt/noframe/gpsfarmguide/views/GooglePlayServicesActivity$1;->this$0:Llt/noframe/gpsfarmguide/views/GooglePlayServicesActivity;

    iget-object v1, p0, Llt/noframe/gpsfarmguide/views/GooglePlayServicesActivity$1;->this$0:Llt/noframe/gpsfarmguide/views/GooglePlayServicesActivity;

    invoke-static {v1}, Llt/noframe/gpsfarmguide/views/GooglePlayServicesActivity;->access$000(Llt/noframe/gpsfarmguide/views/GooglePlayServicesActivity;)I

    move-result v1

    const/4 v2, 0x5

    invoke-virtual {p1, v0, v1, v2}, Lcom/google/android/gms/common/GoogleApiAvailability;->getErrorResolutionPendingIntent(Landroid/content/Context;II)Landroid/app/PendingIntent;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 99
    invoke-virtual {p1}, Landroid/app/PendingIntent;->send()V

    goto :goto_0

    .line 101
    :cond_0
    iget-object p1, p0, Llt/noframe/gpsfarmguide/views/GooglePlayServicesActivity$1;->this$0:Llt/noframe/gpsfarmguide/views/GooglePlayServicesActivity;

    iget-object v0, p0, Llt/noframe/gpsfarmguide/views/GooglePlayServicesActivity$1;->this$0:Llt/noframe/gpsfarmguide/views/GooglePlayServicesActivity;

    const v1, 0x7f11021f

    invoke-virtual {v0, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x0

    invoke-static {p1, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object p1

    invoke-virtual {p1}, Landroid/widget/Toast;->show()V
    :try_end_0
    .catch Landroid/app/PendingIntent$CanceledException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 105
    invoke-virtual {p1}, Landroid/app/PendingIntent$CanceledException;->printStackTrace()V

    :goto_0
    return-void
.end method
